package test.algos.sorting.quicksort;

import java.util.List;

import test.algos.sorting.SortUtil;

public abstract class PivotChooser {

	protected List<Integer> input;

	public Integer choosePivot(List<Integer> input) {

		this.input = input;

		return determinePivotIndex();

	}

	protected abstract Integer determinePivotIndex();

}
